package com.corpdata.system.dic.service;

import com.corpdata.system.dic.entity.SysDataDic;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;
import com.corpdata.common.result.Result;
import com.corpdata.common.result.DataGrid;

/**
 * 
 * 
 * @author zealon
 * @email zealon@126.com
 * @date 2018-05-02 10:51:26
 */
public interface SysDataDicService {
	
	SysDataDic selectById(String id);
	
	DataGrid<SysDataDic> selectDataGrid(DataGrid dg);
	
	Page<SysDataDic> selectList(String dicType);
	
	public String selectJson(String dicType);
	
	int selectCount(Map<String, Object> params);
	
	Result insert(SysDataDic sysDataDic);
	
	Result update(SysDataDic sysDataDic);
	
	Result delete(String id,String dicType);
	
	Result batchDelete(String[] ids);
}
